package com.haitao.po;
import com.fesine.dao.BasePo;

import java.util.Date;
import java.math.BigDecimal;

public class OrderPo extends BasePo {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "Order";
	public static final String ALIAS_ORDER_ID = "订单id";
	public static final String ALIAS_PAYMENT = "实付金额。精确到2位小数;单位:元。如:200.07，表示:200元7分";
	public static final String ALIAS_PAYMENT_TYPE = "支付类型，1、在线支付，2、货到付款";
	public static final String ALIAS_POST_FEE = "邮费。精确到2位小数;单位:元。如:200.07，表示:200元7分";
	public static final String ALIAS_STATUS = "状态：1、未付款，2、已付款，3、未发货，4、已发货，5、交易成功，6、交易关闭";
	public static final String ALIAS_CREATE_TIME = "订单创建时间";
	public static final String ALIAS_UPDATE_TIME = "订单更新时间";
	public static final String ALIAS_PAYMENT_TIME = "付款时间";
	public static final String ALIAS_CONSIGN_TIME = "发货时间";
	public static final String ALIAS_END_TIME = "交易完成时间";
	public static final String ALIAS_CLOSE_TIME = "交易关闭时间";
	public static final String ALIAS_SHIPPING_NAME = "物流名称";
	public static final String ALIAS_SHIPPING_CODE = "物流单号";
	public static final String ALIAS_USER_ID = "用户id";
	public static final String ALIAS_BUYER_MESSAGE = "买家留言";
	public static final String ALIAS_BUYER_NICK = "买家昵称";
	public static final String ALIAS_BUYER_RATE = "买家是否已经评价";
	

	//columns START
    /**
     * 订单id       db_column: order_id 
     */ 	
	private String orderId;
    /**
     * 实付金额。精确到2位小数;单位:元。如:200.07，表示:200元7分       db_column: payment 
     */ 	
	private String payment;
    /**
     * 支付类型，1、在线支付，2、货到付款       db_column: payment_type 
     */ 	
	private Integer paymentType;
    /**
     * 邮费。精确到2位小数;单位:元。如:200.07，表示:200元7分       db_column: post_fee 
     */ 	
	private String postFee;
    /**
     * 状态：1、未付款，2、已付款，3、未发货，4、已发货，5、交易成功，6、交易关闭       db_column: status 
     */ 	
	private Integer status;
    /**
     * 订单创建时间       db_column: create_time 
     */ 	
	private Date createTime;
    /**
     * 订单更新时间       db_column: update_time 
     */ 	
	private Date updateTime;
    /**
     * 付款时间       db_column: payment_time 
     */ 	
	private Date paymentTime;
    /**
     * 发货时间       db_column: consign_time 
     */ 	
	private Date consignTime;
    /**
     * 交易完成时间       db_column: end_time 
     */ 	
	private Date endTime;
    /**
     * 交易关闭时间       db_column: close_time 
     */ 	
	private Date closeTime;
    /**
     * 物流名称       db_column: shipping_name 
     */ 	
	private String shippingName;
    /**
     * 物流单号       db_column: shipping_code 
     */ 	
	private String shippingCode;
    /**
     * 用户id       db_column: user_id 
     */ 	
	private Long userId;
    /**
     * 买家留言       db_column: buyer_message 
     */ 	
	private String buyerMessage;
    /**
     * 买家昵称       db_column: buyer_nick 
     */ 	
	private String buyerNick;
    /**
     * 买家是否已经评价       db_column: buyer_rate 
     */ 	
	private Integer buyerRate;
	//columns END

	
	public String getOrderId() {
		return this.orderId;
	}
	
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	
	public String getPayment() {
		return this.payment;
	}
	
	public void setPayment(String payment) {
		this.payment = payment;
	}

	
	public Integer getPaymentType() {
		return this.paymentType;
	}
	
	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

	
	public String getPostFee() {
		return this.postFee;
	}
	
	public void setPostFee(String postFee) {
		this.postFee = postFee;
	}

	
	public Integer getStatus() {
		return this.status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	
	public Date getCreateTime() {
		return this.createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	
	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	
	public Date getPaymentTime() {
		return this.paymentTime;
	}
	
	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}

	
	public Date getConsignTime() {
		return this.consignTime;
	}
	
	public void setConsignTime(Date consignTime) {
		this.consignTime = consignTime;
	}

	
	public Date getEndTime() {
		return this.endTime;
	}
	
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	
	public Date getCloseTime() {
		return this.closeTime;
	}
	
	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}

	
	public String getShippingName() {
		return this.shippingName;
	}
	
	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}

	
	public String getShippingCode() {
		return this.shippingCode;
	}
	
	public void setShippingCode(String shippingCode) {
		this.shippingCode = shippingCode;
	}

	
	public Long getUserId() {
		return this.userId;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	
	public String getBuyerMessage() {
		return this.buyerMessage;
	}
	
	public void setBuyerMessage(String buyerMessage) {
		this.buyerMessage = buyerMessage;
	}

	
	public String getBuyerNick() {
		return this.buyerNick;
	}
	
	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	
	public Integer getBuyerRate() {
		return this.buyerRate;
	}
	
	public void setBuyerRate(Integer buyerRate) {
		this.buyerRate = buyerRate;
	}


	

}

